package cn.getech.data.metadata.annotation;

import cn.getech.data.metadata.model.excel.ExplicitInterface;

import java.lang.annotation.*;
/**
 * @description: 单元格自定义
 * @author: wangzhaowen：kiss
 * @create: 2020/10/17 11:04
 * @version: 2020/10/17
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface ExplicitConstraint {
    //定义固定下拉内容
    String[] source() default {};

    /**
     * 描述
     */
    String desc() default "";

    //定义动态下拉内容，
    Class<? extends ExplicitInterface>[] sourceClass() default {};
}

